package cn.pangza.user.convert;

import cn.pangza.user.dto.CreateUserDto;
import cn.pangza.user.entity.UserEntity;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserConvert {
    UserConvert INSTANCE = Mappers.getMapper(UserConvert.class);

    UserEntity convertCreateUserDtoToUser(CreateUserDto createUserDto);

}
